export const request=(params)=>{
  const baseUrl="https://www.heilama.com:8383"
  return new Promise((resolve,reject)=>{
    wx.request({
      ...params,
       url: baseUrl+params.url,
       success:(result)=>{
         resolve(result);
       },
       fail:(err)=>{
         reject(err);
       }
    });
  })
}

